/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sumando3;
//Hola
/**
 *
 * @author Ainhoa
 */
public class Sumando3 
{

   public static int sumar (int a, int b)
    {
    int resultado = a + b;
    if (resultado>100)
    {
        return resultado;
    }
    else
        throw new RuntimeException("no se manejan numeros tan grandes");
    }
    public static void main(String[] args) 
    {

    }
}
    

